#include "threadpool.h"

void print(int n)
{
    cout << n << endl;
}
int main()
{
    threadpool<int> tp(print);
    tp.Push(0);
    tp.Push(1);
    tp.Push(2);
    tp.Push(3);
    tp.Push(4);
    tp.Push(5);
    tp.Push(6);
    tp.Push(7);
    tp.Push(8);
    tp.Push(9);
    tp.Push(10);
    return 0;
}